package com.sc.study.exam.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sc.common.annotation.Excel;
import com.sc.common.core.domain.BaseEntity;

/**
 * 题目选项对象 sc_question_option
 * 
 * @author sc
 * @date 2022-02-27
 */
public class ScQuestionOption extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 选项内容 */
    @Excel(name = "选项内容")
    private String optioncontent;

    // 查询条件  题目问题 like 查询
    private String likeQuestionTitle;

    /** 题目编号 */
    @Excel(name = "题目编号")
    private Long questionid;

    /** 是否为选中 默认值为 false */
    private Boolean check = false;

    // 题目对象
    private ScQuestion scQuestion;

    public String getLikeQuestionTitle() {
        return likeQuestionTitle;
    }

    public void setLikeQuestionTitle(String likeQuestionTitle) {
        this.likeQuestionTitle = likeQuestionTitle;
    }

    public ScQuestion getScQuestion() {
        return scQuestion;
    }

    public void setScQuestion(ScQuestion scQuestion) {
        this.scQuestion = scQuestion;
    }

    public Boolean getCheck() {
        return check;
    }

    public void setCheck(Boolean check) {
        this.check = check;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setOptioncontent(String optioncontent) {
        this.optioncontent = optioncontent;
    }

    public String getOptioncontent()
    {
        return optioncontent;
    }
    public void setQuestionid(Long questionid) 
    {
        this.questionid = questionid;
    }

    public Long getQuestionid() 
    {
        return questionid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("optioncontent", getOptioncontent())
            .append("questionid", getQuestionid())
            .toString();
    }
}
